﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace kit206_A2.model
{
    public class unit
    {
		public string unit_code { get; set; }

		public string unit_name { get; set; }

		public staff coordinator { get; set; }

		public override string ToString()
		{
			return String.Format("unit code: {0}, unit name: {1}, coordinator name: {2}", unit_code, unit_name, coordinator.get_fullName );
		}

		public string get_unit()
        {
			return unit_code + " " + unit_name + coordinator.get_fullName;

		}
	}
}
